package com.shwread.android.ui.widget.datepicker;

/**
 * 作者: 司海林
 * 时间: 16/1/26
 * 邮箱: 371184359@qq.com
 * 描述:
 */
public class AMPMWheelAdapter implements
        WheelAdapter
{

    public AMPMWheelAdapter() {
    }

    @Override
    public String getItem(int index) {
        if(index ==0)
            return "上";
        else
            return "下";
    }

    @Override
    public int getItemsCount() {
        return 2;
    }

    @Override
    public int getMaximumLength() {
        return 3;
    }
}
